/**
 * 修正IE 8/9 中未定义的块级元素。
 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
    display: block;
}
/**
 * 修正在 IE 8/9 中未定义的 'inline-block' 元素。
 */
audio,
canvas,
video {
    display: inline-block;
}
/**
 * 阻止现在浏览器显示未定义 control 播放控件的 'audio' 声音元素。
 * 删除 IOS 5 设备中显示的多余的高度。
 */
audio:not([controls]) {
    display: none;
    height: 0;
}
/**
 * 处理 IE 8/9 中不存在的样式。
 */
[hidden] {
    display: none;
}
/**
 * 1. 设置默认字体类型
 * 2. 当用户放大或缩小页面时不改变字体大小。
 */
html {
    font-family: Microsoft YaHei,sans-serif; /* 1 */
    -ms-text-size-adjust: 100%; /* 2 */
    -webkit-text-size-adjust: 100%; /* 2 */
}
/**
 * 删除默认边距。
 */
body {
    margin: 0;
}
/**
 * 处理 Chrome 与其它浏览器中关于 'outline' 的不一致性。
 */
a:focus {
    outline: 0;
}
/**
 * 为所有浏览器改善当激活或悬停在元素上时元素内容的可读性。
 */
a:active,
a:hover {
    outline: 0;
}
/**
 * 处理 Firefox 4+, Safari 5, 及 Chrome 中默认的 'bolder' 样式为　'bold'.
 */
b,
strong {
    font-weight: bold;
}
/**
 * 处理　Firefox　与其它浏览器的差异。
 */
hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
}
/**
 * 为所有浏览器改善预格式化文本的可读性。
 */
pre {
    white-space: pre-wrap;
}
/**
 * 删除 IE 8/9 中当内容位于 'a' 中出现的边框。
 */
img {
    border: 0;
}
/**
 * 修正 IE 9 中显示古怪的溢出内容。
 */
svg:not(:root) {
    overflow: hidden;
}
/**
 * 1. 修正所有浏览器中未被继承的字体类型。
 * 2. 修正所有浏览器中未被继承的字体大小。
 * 3. 处理 Firefox 4+, Safari 5, 及 Chrome 中默认设置不同的外边距。
 */
button,
input,
select,
textarea {
    font-family: inherit; /* 1 */
    font-size: 100%; /* 2 */
    margin: 0; /* 3 */
}
/**
 * 处理 Firefox 4+ 中的客户端样式表里使用 '!important' 设置的 'line-height'.
 */
button,
input {
    line-height: normal;
}
/**
 * 处理 'button' 和 'select' 的 'text-transform' 继承的不一致性。
 * 所有其它表单控件元素不继承 'text-transform' 的值。
 * 修正 Chrome, Safari 5+, 及 IE 8+ 中 'button' 的继承样式。
 * 修正 Firefox 4+ 和 Opera 中 'select' 的继承样式。
 */
button,
select {
    text-transform: none;
}
/**
 * 1. 避免 Android 4.0.* 中 WebKit 的一个bug, 防止 'audio' 与 'video' 的播放控件失效。
 * 2. 修正 iOS 中不可点击的 'input' 样式。
 * 3. 改善图片类型的 'input' 等光标样式的可用性与一致性。
 */
button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button; /* 2 */
    cursor: pointer; /* 3 */
}
/**
 * 重置不可用元素的默认光标样式。
 */
button[disabled],
html input[disabled] {
    cursor: default;
}
/**
 * 删除表格里单元格间的间距。
 */
table {
    border-collapse: collapse;
    border-spacing: 0;
}
/**
 * 删除 Firefox 4+ button 与 input 上的内边距。
 */
button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}
/**
 * 1. 删除 IE8/9 中默认的垂直滚动条。
 * 2. 改善所有浏览器中的可读性并使文本垂直对齐。
 */
textarea {
    overflow: auto; /* 1 */
    vertical-align: top; /* 2 */
}
/**
 * 统一设置盒子模型为 border-box
 */
html {
  box-sizing: border-box;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}